package com.xbongbong.pro.script.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/6/30 14:10
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ProcessDTO extends BaseDTO {

    private static final long serialVersionUID = -4174196088493604957L;

    @Size(min = 1,message = "{dto.msg.process.corpidList.Size}")
    private List<String> corpidList;

    private List<Integer> businessTypeList;

    private Integer businessType;

    /**
     * 需要更新的字段
     */
    //@NotNull(message = "attr不能为空")
    private String attr;
    /**
     * 需要更新的节点属性
     */
    //@NotNull(message = "visible不能为空")
    private Integer visible;
    //@NotNull(message = "editable不能为空")
    private Integer editable;


}
